#ifndef _STRAWGUI_COMPONENT_INSTANCE_EDIT_H_
#define _STRAWGUI_COMPONENT_INSTANCE_EDIT_H_

#include "sCILabel.h"

namespace sgui
{
namespace inst
{
class sComponentInstanceEdit : public sComponentInstanceLabel
{
public:
	sComponentInstanceEdit(sGUI& gui, const res::sComponentObject& object, sComponentInstance* parent);
    
    virtual void OnEventPressed();

    bool OnHandlerEvent(const sActionHandlerEvent& event);
    bool OnPress(const obs::sMousePressEvent& event, sComponentRectInstance* rect);

    ~sComponentInstanceEdit();
};

};
};

#endif